<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>活动添加页面</title>
  <link rel="stylesheet" href="../../yl/index.css" />
  <!-- 布局样式 -->
  <link rel="stylesheet" href="../../yl/style.css" />
  <link rel="stylesheet" href="../../yl/mobile.css" />
  <link rel="stylesheet" href="../../yl/easyui.css" />
  <link rel="stylesheet" href="../../yl/icon.css" />
</head>

<body>
  <div class="easyui-navpanel" id="app" v-cloak>
    <header>
      <div class="m-toolbar">
        <div class="m-title">
          添加{{ party_organization_activities.Activity_Type }}
        </div>
      </div>
    </header>
    <div class="easyui-navpanel panel-body panel-body-nobottom panel-body-noborder" style="height: 3000px"
      id="MainTable" ref="MainTable"
      :data-options="JSON.stringify({ 'TableName': 'party_organization_activities', 'form': 'party_organization_activities' })">
      <el-descriptions :column="1" size="large" border>
        <el-descriptions-item :width="20">
          <template #label>
            <div class="cell-item">活动名称</div>
          </template>
          <el-input disabled ref="personal_information" v-model="party_organization_activities.Activity_Name"
            class="borderless-input" placeholder="请输入活动名称" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">所属党组织</div>
            <!-- 归属党组织编号 -->
          </template>
          <el-select disabled v-model="party_organization_activities.Party_Organization_SerialNumber"
            placeholder="请选择所属党组织" size="large">
            <el-option v-for="item in Manager" :key="item.Party_Organization_SerialNumber"
              :label="item.Party_Organization_Name" :value="item.Party_Organization_SerialNumber" />
          </el-select>
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">活动类型</div>
          </template>
          <el-input disabled ref="personal_information" v-model="party_organization_activities.Activity_Type"
            class="borderless-input" placeholder="请输入活动名称" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">召开时间</div>
          </template>
          <el-date-picker disabled v-model="party_organization_activities.Activity_Datetime" type="datetime"
            placeholder="请选择召开日期" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" size="large" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">召开地点</div>
          </template>
          <el-input disabled ref="party_organization_activities"
            v-model="party_organization_activities.Activity_Location" class="borderless-input" placeholder="请输入召开地点" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">活动积分</div>
          </template>
          <el-input-number disabled v-model="party_organization_activities.Activity_Points" :min="1" :max="10" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">活动内容</div>
          </template>
          <el-input disabled type="textarea" :rows="5" ref="party_organization_activities"
            v-model="party_organization_activities.Activity_Content" class="borderless-input" placeholder="请输入活动内容" />
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">会议总结</div>
          </template>
          <el-upload multiple v-model:file-list="fileList" class="upload-demo" action="" :before-upload="beforeUpload"
            :before-remove="beforeRemove">
            <el-button type="primary">点击上传会议总结</el-button>
          </el-upload>
        </el-descriptions-item>
        <el-descriptions-item>
          <template #label>
            <div class="cell-item">记录人</div>
          </template>
          <el-select v-model="party_organization_activities.Recorder_SerialNumber" placeholder="请选择记录人" size="large">
            <el-option v-for="item in Recorder" :key="item.ID_Card_Number" :label="item.Personal_Name"
              :value="item.ID_Card_Number" />
          </el-select>
        </el-descriptions-item>
      </el-descriptions>
    </div>
    <footer class="botton-ann">
      <el-button @click="goBack">返回</el-button>
      <el-button type="primary" plain @click="handleSubmit" :loading="loading">提交</el-button>
    </footer>
  </div>
</body>
<script src="../../yl/vue.js"></script>
<script src="../../config/config.js"></script>
<script src="../../yl/index.js"></script>
<script src="../../yl/zh-cn.mjs"></script>
<script src="../../yl/index.iife.min.js"></script>
<script src="../../yl/jquery.min.js"></script>
<script src="../../utils/jquery.cookie.js"></script>
<script src="../../yl/jquery.easyui.min.js"></script>
<script src="../../yl/jquery.easyui.mobile.js"></script>
<script src="../../yl/moment.min.js"></script>
<script src="../../api/request.js"></script>
<script src="../../utils/utils.js"></script>
<script src="./js/Activity_Summary.js"></script>

</html>